﻿using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class LoginInput
    {

        /// <summary>
        /// 账号
        /// </summary>
        [Required(ErrorMessage = ("账号不能为空"))]
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = ("密码不能为空"))]
        public string Password { get; set; }


    }
}
